package main

import (
	"flag"
	"fmt"
	"my189go/internal/cmd"
	"my189go/internal/term"
)

func main() {
	flag.Parse()
	fmt.Println("开始表演:")
	for i, v := range flag.Args() {
		fmt.Println(i, v)
	}

	cmd.AddCommand(versionCmd)

	if len(flag.Args()) == 0 {
		term.Start()
	} else {
		cmd.Execute()
	}
}
